package com.yanglei.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

@RestController
public class payMentController {

    @Value("${server.port}")
    private String port;

    @RequestMapping("/test8006")
    private String test8006() {
        return "端口号为：" + port + "，序列号为：" + UUID.randomUUID().toString();
    }
}
